API Help
EPLAN API / API Reference / Actions / restore
In This Topic
    restore
    In This Topic
    Action class for restore functions: restore projects and restore master data(Forms, symbols,...)
    

    Parameter Description

    TYPE

    Type of task to be performed:
    PROJECT: Restore project
    MASTERDATA: Restore master data
    

    PROJECTNAME

    Project name with full path.This only applies to TYPE = PROJECT.
    

    ARCHIVENAME

    Archive name. Name of the  archive to be restored.
    

    DESTINATIONPATH

    Target directory. Path where the projects or data are to be restored.
    Only applies to TYPE = MASTERDATA
    

    UNPACKPROJECT

    Specifies whether the previously packed project is to be unpacked (optional, Yes= 1, No = 0). 
    Set this flag to 0, only if previously packed projects are to be unpacked,
    Default value=0
    Only applies to TYPE = PROJECT.
    

    MODE

    if set to 0, project information file (ProjectInfo.xml) will not be restored (optional).
    Default value=1
    Only applies to TYPE = PROJECT.
    

    Remarks
    Restored project is automatically upgraded to the currently used EPLAN version.
    

    Example
    Restore project:
    
    restore /TYPE:PROJECT /ARCHIVENAME:C:\temp\ESS_Sample_Project.zw1 /PROJECTNAME:C:\temp\ESS_Sample_Project.elk /UNPACKPROJECT:0
    
    
    Restore master data (plot frames, ...) to a DestinationPath
    
    restore /TYPE:MASTERDATA /ARCHIVENAME:C:\temp\ESS_Sample_Project.zw2 /DESTINATIONPATH:C:\temp